package com.hgzy.sys.common;

/**
 * 系统常量
 * @author jiejie
 */
public interface Constant {
    /**
     * 登陆状态
     */
    public static final Integer OK=200;
    public static final Integer ERROR=-1;
    /**
     * 提示信息
     */
    public static final String DELETE_OK_MSG = "删除成功";
    public static final String DELETE_ERROR_MSG = "删除失败";
    public static final String ADD_OK_MSG = "添加成功";
    public static final String ADD_ERROR_MSG = "添加失败";
    public static final String UPDATE_OK_MSG = "更新成功";
    public static final String UPDATE_ERROR_MSG = "更新失败";
    /**
     * 菜单权限类型
     */
    public static final String TYPE_MENU = "menu" ;
    public static final String TYPE_PERMISSION = "permission" ;
    /**
     * 菜单状态
     */
    public static final String TYPE_TRUE = "1";
    public static final String TYPE_FALSE = "0";
    /**
     * 用户类型
     * 0 超级管理员
     * 1 普通用户
     */
    public static final Integer USER_TYPE_SUPER = 0;
    public static final Integer USER_TYPE_NORMAL = 1;
}
